/*
 * http_control.h
 *
 *  Created on: 16-May-2011
 *      Author: tan-ce
 */

#ifndef HTTP_CONTROL_H_
#define HTTP_CONTROL_H_

#include "tcetools/basic_http.h"
#include "tcetools/proc_mgmt.h"

class HttpControl {
protected:
	tcetools::BasicHttpServer *http;
	tcetools::ChildProcess *mcs_proc;

public:
	HttpControl(tcetools::BasicHttpServer *http, tcetools::ChildProcess *minecraft_server) {
		this->http = http;
		this->mcs_proc = minecraft_server;
	}

	void process();
};

#endif /* HTTP_CONTROL_H_ */
